package com.yanlight.app.request;

public class AliTransferRequest {

    private String out_biz_no;

    private Double trans_amount;

    private String product_code = "STD_RED_PACKET";

    private String biz_scene = "DIRECT_TRANSFER";

    private String order_title;

    private PayeeInfo payee_info;

    private String remark;

    private BusinessParams business_params = new BusinessParams();


    public String getOut_biz_no() {
        return out_biz_no;
    }

    public void setOut_biz_no(String out_biz_no) {
        this.out_biz_no = out_biz_no;
    }

    public Double getTrans_amount() {
        return trans_amount;
    }

    public void setTrans_amount(Double trans_amount) {
        this.trans_amount = trans_amount;
    }

    public String getProduct_code() {
        return product_code;
    }

    public void setProduct_code(String product_code) {
        this.product_code = product_code;
    }

    public String getBiz_scene() {
        return biz_scene;
    }

    public void setBiz_scene(String biz_scene) {
        this.biz_scene = biz_scene;
    }

    public String getOrder_title() {
        return order_title;
    }

    public void setOrder_title(String order_title) {
        this.order_title = order_title;
    }

    public PayeeInfo getPayee_info() {
        return payee_info;
    }

    public void setPayee_info(PayeeInfo payee_info) {
        this.payee_info = payee_info;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BusinessParams getBusiness_params() {
        return business_params;
    }

    public void setBusiness_params(BusinessParams business_params) {
        this.business_params = business_params;
    }

    public static class BusinessParams {
        private String sub_biz_scene = "REDPACKET";

        public String getSub_biz_scene() {
            return sub_biz_scene;
        }

        public void setSub_biz_scene(String sub_biz_scene) {
            this.sub_biz_scene = sub_biz_scene;
        }
    }

    public static class PayeeInfo {

        //参与方唯一标识
        private String identity;
        private String identity_type = "ALIPAY_USER_ID";

        public PayeeInfo(String identity) {
            this.identity = identity;
        }

        public String getIdentity() {
            return identity;
        }

        public void setIdentity(String identity) {
            this.identity = identity;
        }

        public String getIdentity_type() {
            return identity_type;
        }

        public void setIdentity_type(String identity_type) {
            this.identity_type = identity_type;
        }
    }

}
